package com.ericsson.enap.modules.topology.mapper;

import com.ericsson.enap.modules.topology.entity.EpcCabVlanDict;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * VLAN三级联动Mapper接口
 *
 * @author wangjingshi
 * @date 2020-12-11
 */
@Mapper
public interface EpcCabVlanDictMapper
{
    /**
     * 查询VLAN三级联动
     *
     * @param id VLAN三级联动ID
     * @return VLAN三级联动
     */
    public EpcCabVlanDict selectEpcCabVlanDictById(Integer id);

    /**
     * 查询VLAN三级联动列表
     *
     * @param epcCabVlanDict VLAN三级联动
     * @return VLAN三级联动集合
     */
    public List<EpcCabVlanDict> selectEpcCabVlanDictList(EpcCabVlanDict epcCabVlanDict);

    /**
     * 新增VLAN三级联动
     *
     * @param epcCabVlanDict VLAN三级联动
     * @return 结果
     */
    public int insertEpcCabVlanDict(EpcCabVlanDict epcCabVlanDict);

    /**
     * 修改VLAN三级联动
     *
     * @param epcCabVlanDict VLAN三级联动
     * @return 结果
     */
    public int updateEpcCabVlanDict(EpcCabVlanDict epcCabVlanDict);

    /**
     * 删除VLAN三级联动
     *
     * @param id VLAN三级联动ID
     * @return 结果
     */
    public int deleteEpcCabVlanDictById(Integer id);

    /**
     * 批量删除VLAN三级联动
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteEpcCabVlanDictByIds(Integer[] ids);
}
